const menu = [
  {
    key: '01',
    title: '商品中心',
    pkey: '0',
    menuType: '1',
    children: [
      {
        key: '0101',
        title: '商品管理',
        pkey: '01',
        icon: 'hdd',
        menuType: '1',
        children: [
          {
            key: '010104',
            pkey: '0101',
            title: '素材中心',
            menuType: '2',
            url: '/goods/goodsMaterial'
          },
          {
            key: '010101',
            pkey: '0101',
            title: '商品分类',
            menuType: '2',
            url: '/goodsCatalog/catalogList'
          },
          {
            key: '010102',
            pkey: '0101',
            title: '商品发布',
            menuType: '2',
            url: '/GoodsRelease/index'
          },
          {
            key: '010103',
            pkey: '0101',
            title: '商品仓库',
            menuType: '2',
            url: '/goods/goodsWarehouse'
          }
          // {
          //     key: "010104",
          //     pkey: "0101",
          //     title: "库存管理",
          //     menuType: "2",
          //     url: "",
          // },
        ]
      },
      {
        key: '0102',
        title: '历史商品',
        pkey: '01',
        icon: 'wallet',
        menuType: '1',
        children: [
          //   {
          //     key: "010201",
          //     pkey: "0102",
          //     title: "历史商品发布",
          //     menuType: "2",
          //     url: "",
          //   },
          {
            key: '010202',
            pkey: '0102',
            title: '商品回收站',
            menuType: '2',
            url: '/goods/goodsRecycleBin'
          }
        ]
      },
      {
        key: '0103',
        title: '申请管理',
        pkey: '01',
        icon: 'import',
        menuType: '1',
        children: [
          // {
          //     key: "010301",
          //     pkey: "0103",
          //     title: "品目申请",
          //     menuType: "2",
          //     url: "/Agreement/List",
          // },
          {
            key: '010302',
            pkey: '0103',
            title: '品牌申请',
            menuType: '2',
            url: '/goods/brandApply'
          },
          {
            key: '010304',
            pkey: '0103',
            title: '标准品申请',
            menuType: '2',
            url: '/goods/standardApply'
          },
          {
            key: '010305',
            pkey: '0103',
            title: '类目申请',
            menuType: '2',
            url: '/goods/catalogApply'
          }
        ]
      }
      // {
      //     key: "0104",
      //     title: "商品服务",
      //     pkey: "01",
      //     icon: "hdd",
      //     menuType: "1",
      //     children: [{
      //         key: "010401",
      //         pkey: "0104",
      //         title: "素材中心",
      //         menuType: "2",
      //         url: "",
      //     }],
      // },
    ]
  },
  {
    key: '02',
    title: '询竞价中心',
    pkey: '0',
    icon: 'fall',
    menuType: '1',
    children: [
      {
        key: '0201',
        pkey: '02',
        title: '询竞价',
        menuType: '1',
        icon: 'fall',
        children: [
          {
            key: '020101',
            pkey: '0201',
            title: '询竞价',
            menuType: '2',
            url: '/Bidding/index'
          }
        ]
      }
    ]
  },
  {
    key: '03',
    title: '协议采购',
    pkey: '0',
    icon: 'hdd',
    menuType: '1',
    children: [
      {
        key: '0301',
        pkey: '03',
        title: '协议管理',
        menuType: '1',
        icon: 'audit',
        children: [
          {
            key: '030101',
            pkey: '0301',
            title: '协议商品配置',
            menuType: '2',
            url: '/agreement/configure'
          }
        ]
      },
      {
        key: '0302',
        pkey: '03',
        title: '订单管理',
        menuType: '1',
        icon: 'carry-out',
        children: [
          {
            key: '030201',
            pkey: '0302',
            title: '订单',
            menuType: '2',
            url: '/Order/PlaceOrder'
          },
          {
            key: '030202',
            pkey: '0302',
            title: '售后单',
            menuType: '2',
            url: '/Order/AfterSale'
          },
          {
            key: '030203',
            pkey: '0302',
            title: '评价',
            menuType: '2',
            url: '/Order/Evaluate'
          }
        ]
      },
      {
        key: '0303',
        pkey: '03',
        title: '合同管理',
        menuType: '1',
        icon: 'form',
        children: [
          {
            key: '030301',
            pkey: '0303',
            title: '合同管理',
            menuType: '2',
            url: '/contract/index'
          },
          {
            key: '030302',
            pkey: '0303',
            title: '已生效合同作废审核',
            url: '/contract/auditList',
            menuType: '2'
          }
        ]
      },
      {
        key: '0304',
        pkey: '03',
        title: '对账管理',
        menuType: '1',
        icon: 'diff',
        children: [
          {
            key: '030401',
            pkey: '0304',
            title: '对账单管理',
            menuType: '2',
            url: '/recordManage/recordPage/index'
          },
          {
            key: '030402',
            pkey: '0304',
            title: '对账规则',
            menuType: '2',
            url: '/recordManage/recordRule/index'
          }
        ]
      },
      {
        key: '0305',
        pkey: '03',
        title: '结算管理',
        menuType: '1',
        icon: 'snippets',
        children: [
          {
            key: '030501',
            pkey: '0305',
            title: '服务费账单',
            menuType: '2',
            url: '/billingCenter/serviceCharge'
          },
          {
            key: '030502',
            pkey: '0305',
            title: '保证金账单',
            menuType: '2',
            url: '/BillingCenter/MarginBill'
          }
        ]
      },
      {
        key: '0306',
        pkey: '03',
        title: '发票管理',
        menuType: '1',
        icon: 'solution',
        children: [
          {
            key: '030601',
            pkey: '0306',
            title: '开具发票',
            menuType: '2',
            url: '/invoice/index'
          }
        ]
      }
    ]
  },
  {
    key: '04',
    pkey: '0',
    title: '系统设置',
    menuType: '1',
    icon: 'hdd',
    children: [
      {
        key: '0401',
        pkey: '04',
        title: '基础设置',
        menuType: '1',
        icon: 'setting',
        children: [
          {
            key: '040101',
            pkey: '0401',
            title: '企业设置',
            menuType: '2',
            url: '/baseSetting/enterprise'
          },
          {
            key: '040102',
            pkey: '0401',
            title: '个人设置',
            menuType: '2',
            url: '/baseSetting/personal'
          },
          {
            key: '040103',
            pkey: '0401',
            title: '系统日志',
            menuType: '2',
            url: '/baseSetting/systemLog'
          }
        ]
      },
      {
        key: '0402',
        pkey: '04',
        title: '用户权限',
        menuType: '1',
        icon: 'user',
        children: [
          {
            key: '040201',
            pkey: '0402',
            title: '用户管理',
            menuType: '2',
            url: '/userAuthority/userManagement'
          }
          // {
          //     key: "040202",
          //     pkey: "0402",
          //     title: "权限管理",
          //     menuType: "2",
          //     url: "/userAuthority/roleManagement",
          // },
        ]
      },
      // {
      //     key: "0403",
      //     pkey: "04",
      //     title: "交易设置",
      //     menuType: "1",
      //     icon: "fall",
      //     children: [{
      //         key: "040301",
      //         pkey: "0403",
      //         title: "交易设置",
      //         menuType: "2",
      //         url: "/supplierSettingTrade/index",
      //     }],
      // },
      // {
      //     key: "0404",
      //     pkey: "04",
      //     title: "开票设置",
      //     menuType: "1",
      //     icon: "fall",
      //     children: [{
      //             key: "040401",
      //             pkey: "0404",
      //             title: "开票设置",
      //             menuType: "2",
      //             url: "/supplierInvoice/setting",
      //         },
      //         {
      //             key: "040402",
      //             pkey: "0404",
      //             title: "抬头设置",
      //             menuType: "2",
      //             url: "/supplierInvoice/index",
      //         },
      //     ],
      // },
      {
        key: '0405',
        pkey: '04',
        title: '物流管理',
        menuType: '1',
        icon: 'car',
        children: [
          {
            key: '040501',
            pkey: '0405',
            title: '物流设置',
            menuType: '2',
            url: '/logistics/index'
          },
          {
            key: '040502',
            pkey: '0405',
            title: '地址管理',
            menuType: '2',
            url: '/supplierAddress/index'
          }
        ]
      }
    ]
  }
]

export default menu
